import request from '@/utils/request'


export const getList = (params) => {
  return request({
    url: '/grade/sys/list',
    method: 'post',
    data:params
  })
}
export const getXia = (str) => {
  return request({
    url: 'sys/dict/detail/dictType/'+str,
    method: 'get',
  })
}
export const getInfo =() => {
  return request({
    url: '/sys/user/listAll/',
    method: 'get',
  })
}
export const add = (params) => {
  return request({
    url: '/grade/sys/add/grade',
    method: 'post',
    data:params
  })
}
export const update = (params) => {
  return request({
    url: '/grade/sys/add/up',
    method: 'post',
    data:params
  })
}
export const dela = (id) => {
  return request({
    url: '/grade/sys/del?id='+id,
    method: 'get',
  })
}
export const getStu = (id,size,num) => {
  return request({
    url: '/grade/sys/stu/list?id='+id+"&size="+size+"&num="+num,
    method: 'get',

  })
}
export const qiDong = (params) => {
  return request({
    url: '/grade/sys/qiDong',
    method: 'post',
    data:params
  })
}
export const jinDong = (params) => {
  return request({
    url: '/grade/sys/jinDong',
    method: 'post',
    data:params
  })
}

